package Collection;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by XQ on 2017/5/24.
 */
public class MyMap {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap<String,String>();
        map.put("1","chen");
        map.put("2","zhao");
        map.put("3","qian");
        for (int i = 1; i <= map.size(); i++) {
            System.out.println(map.get(""+i+""));
        }
    }

}
